import "echarts-gl";
import bg_word from '@/assets/img/word.jpg'
import bg_start from '@/assets/img/start.jpg'
export function OptionFun() {
    const option = {
        backgroundColor: '#000',
        globe: {
            baseTexture: bg_word,
            heightTexture: bg_word,
            displacementScale: 0.04,
            shading: 'realistic',
            environment: bg_start,
            realisticMaterial: {
                roughness: 0.9
            },
            postEffect: {
                enable: true
            },
            // light: {
            //     main: {
            //         intensity: 5,
            //         shadow: true
            //     },
            //     ambientCubemap: {
            //         texture: '/data-gl/asset/pisa.hdr',
            //         diffuseIntensity: 0.2
            //     }
            // }
        }
    };
    return option
}